Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Noise updates #77

Open
wants to merge 25 commits into
base: NG20
Choose a base branch
from

Conversation

jeremy-baier
Copy link

@jeremy-baier jeremy-baier commented Aug 25, 2024

Drafting a PR for 1) chromatic noise model functionality 2) discovery likelihood 3) enterprise extensions Gibbs sampler.
Also taps into la_forge functionality for post processing.

Chromatic noise models

  • Adds dmgp, and chrom gp, and solar wind to the par files post noise.
  • Enables user to run dmgp/chromgp in the model_noise function.

Discovery Likelihood

  • adds functionality to interface with the discovery likelihood
  • options 3 different types of noise samplers in numpyro (HMC, NUTS, HMC-GIBBS)

Gibbs Sampler

  • Still a WIP, but using this PR in enterprise extensions.
  • Modifies Nima Lal’s Gibbs sampler, based on van Haasteren & Vallisneri 2014, enabling DM and Chromatic models to be sampled using a free spec psd.
  • future functionality will add Fourier coefficients into the timing model via the WaveX and DMWaveX and CMWaveX

Requirements

  • La_forge for noise post-processing
  • discovery need access
  • numpyro: pip install numpyro[cuda] -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html (for GPU)
  • jax: pip install -U "jax[cuda12]” (for GPU)
  • enterprise_extensions gibbs sampler: PR here pip install git+https://github.com/jeremy-baier/enterprise_extensions@jgb-chromatic-gibbs

TO DO

Discovery
————

  • solar wind !!!
  • fix hmc-gibbs
  • speed test everything
  • figure out optimal sampler parameters for HMC, NUTs

Enterprise Extensions Gibbs
——————————————

  • un-hard-code simultaneous use of dm, chrom, red noises in Gibbs
  • put free specs into model as fourier coefficients via DMwaveX CMwaveX
  • fix issues with CMWaveX ( i think this is just an import thing based off version of pint)
  • add option to free up the chromatic index with a PTMCMC step

Misc
——

  • interface with the auto-creation of diagnostic plots — add free spec and/or PL plots
  • add empirical dists for WN + chrom idx
  • test run PTMCMC vs e_e.gibbs_sampling vs discovery
  • add Nitu+ solar wind
  • test solar wind gp?

@jeremy-baier
Copy link
Author

jeremy-baier commented Aug 25, 2024

moving to-do list higher up

@jeremy-baier jeremy-baier changed the title WIP: Gibbs (Chromatic) Noise Analysis WIP: Both Enterprise extensions gibbs & discovery for noise analysis Sep 11, 2024
@jeremy-baier jeremy-baier changed the title WIP: Both Enterprise extensions gibbs & discovery for noise analysis WIP: Noise updates Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants